package com.example.homelicaisystem.dao;

import com.example.homelicaisystem.entity.ExpendDetail;
import com.example.homelicaisystem.entity.SelectResult;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExpendDetailMapper {
    void insertExpendDetail(ExpendDetail data);

    Page<ExpendDetail> getList(ExpendDetail data);

    void update(ExpendDetail data);

    void delete(int id);

    List<SelectResult> selectExpendType();

    List<SelectResult> selectExpendMode();

    ExpendDetail getExpendDetailById(Integer id);
}
